<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
<h:head>
	<title>posterminal</title>
	<meta http-equiv="cache-control" content="no-cache"/>
	<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</h:head>
<h:body>
<div align="center">
<h1>#{msgs.loginTop}</h1>

<fieldset>

<legend>Login</legend>

<h:form>
	<table border="0">
  		<tr> 
  			<td> User: </td> 
  			<td> <h:inputText value="#{loginBean.user}"></h:inputText> </td>
  		</tr>  
  		<tr> 
  			<td>Password: </td>
  			<td><h:inputText value="#{loginBean.password}"> </h:inputText> </td>
  		</tr>   
  	</table>
    <h:commandButton value="Go to Main" 
                   action="#{loginBean.login}"/> <br/>
    <h:outputText value="#{loginBean.error}"></h:outputText> <br/>
</h:form>

</fieldset>

</div>

</h:body>

</html>